package com.wyiot.pet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyiot.pet.model.entity.BoxDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author yly
 * @since 2022年04月08日
 */
@Mapper
public interface BoxMapper extends BaseMapper<BoxDO> {

    @Select("select * from box where box_number=#{number}")
    BoxDO selectBoxByNumber(@Param("number") Integer number);

}
